#!/usr/bin/env python

# -------
# Imports:
# -------
from google.appengine.ext import webapp
from views import *

# Define the mappings from URL --> Handler
urlMap = [('/thinned_cell_complex/image/\w+', GetThinnedCellComplex),
          ('/cell_complex/absolute/\w+', GetAbsoluteCellComplex),
          ('/cell_complex/relative/\w+', GetRelativeCellComplex),
          ('/cell_complex/image/\w+', GetCellComplex),
          ('/cell_complex/image', GenerateCellComplex),
		  ('/threshold/image', ThresholdImage),
		  ('/thin/image', ThinImage),
		  ('/image/threshold/\w+', GetImage),
		  ('/image/source/\w+', GetImage),
		  ('/upload/image', UploadImage),
		  ('/\w+', Pipeline),
		  ('/', UploadView)]
